package demo1;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: ASUS
 * Date: 2023-10-18
 * Time: 16:38
 */
public class Test1 {
    public static void main(String[] args) {
        int[] arr = {1,2,3,4,5,6};
        for (int i = 0; i < arr.length ; i++) {
            System.out.print(i+" ");
        }
        System.out.println();
        System.out.println(arr.length);
    }
}
